<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>简介</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="book.ncurses.html">Ncurses</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ncurses.setup.html">安装／配置</a></div>
 <div class="up"><a href="book.ncurses.html">Ncurses</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="intro.ncurses" class="preface">
  <h1 class="title">简介</h1>
  <p class="para">
   ncurses (new curses) is a free software emulation of curses in
   System V Rel 4.0 (and above). It uses terminfo format, supports pads,
   colors, multiple highlights, form characters and function key mapping.
   Because of the interactive nature of this library, it will be of little
   use for writing Web applications, but may be useful when writing scripts meant
   <a href="features.commandline.html" class="link">using PHP from the command line</a>.
  </p>
  <p class="para">
   The features available, such as colors, depend on the terminal that
   you are using. Use functions such as <span class="function"><a href="function.ncurses-has-colors.html" class="function">ncurses_has_colors()</a></span>,
   <span class="function"><a href="function.ncurses-can-change-color.html" class="function">ncurses_can_change_color()</a></span>, and
   <span class="function"><a href="function.ncurses-has-ic.html" class="function">ncurses_has_ic()</a></span> to check for individual capabilities.
  </p>
  <blockquote class="note"><p><strong class="note">Note</strong>: 
   <p class="para">
    此扩展已被移至
<a href="http://pecl.php.net/" class="link external">&raquo;&nbsp;PECL</a> 资源库且不再与 PHP 捆绑。5.3.0.
   </p>
  </p></blockquote>
  <p class="para">
   ncurses is available for the following platforms:
   <ul class="itemizedlist">
    <li class="listitem"><span class="simpara">AIX</span></li> 
    <li class="listitem"><span class="simpara">BeOS</span></li>
    <li class="listitem"><span class="simpara">BSD variants (FreeBSD, NetBSD, OpenBSD)</span></li>
    <li class="listitem"><span class="simpara">Cygwin</span></li> 
    <li class="listitem"><span class="simpara">Digital Unix (aka OSF1)</span></li>
    <li class="listitem"><span class="simpara">GNU/Linux</span></li>
    <li class="listitem"><span class="simpara">HPUX</span></li>
    <li class="listitem"><span class="simpara">IRIX64</span></li>
    <li class="listitem"><span class="simpara">Mac OS X</span></li>
    <li class="listitem"><span class="simpara">OS/2</span></li>
    <li class="listitem"><span class="simpara">QNX</span></li>
    <li class="listitem"><span class="simpara">SCO OpenServer</span></li>
    <li class="listitem"><span class="simpara">Solaris</span></li>
    <li class="listitem"><span class="simpara">Tru64</span></li>
   </ul>
  </p>
 </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="book.ncurses.html">Ncurses</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ncurses.setup.html">安装／配置</a></div>
 <div class="up"><a href="book.ncurses.html">Ncurses</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
